From: Colin Walters Date: Fri, 23 Oct 2009 16:26:05 +0000 (-0400) Subject: [ShellWindowTracker] Create fallback apps again X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~10712 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=10991d363d38997c6c99436c8ae69b5d3cd841b6;p=gnome-shell.git [ShellWindowTracker] Create fallback apps again Creating window-based apps got lost in the code refactoring. --- diff --git a/src/shell-window-tracker.c b/src/shell-window-tracker.c index b0174d08a..57226b7d5 100644 --- a/src/shell-window-tracker.c +++ b/src/shell-window-tracker.c @@ -319,6 +319,11 @@ get_app_for_window_direct (MetaWindow *window) app = shell_app_system_get_app (appsys, id); } + if (app == NULL) + { + app = _shell_app_new_for_window (window); + } + return app; }